
pkgname=hwids
pkgver=20180518
_commit=d3d4bfb
pkgrel=1
pkgdesc="Hardware identification databases"
url="https://github.com/gentoo/hwids"
license=('GPL2')
arch=('x86_64')
source=("https://github.com/gentoo/hwids/tarball/${pkgname}-${pkgver}")
md5sums=('6f25558342d30bf010e891e568bea057')

package() {
  cd gentoo-${pkgname}-${_commit}

  install -Dm644 usb.ids ${pkgdir}/usr/share/hwdata/usb.ids
  install -Dm644 pci.ids ${pkgdir}/usr/share/hwdata/pci.ids
}

